home *** CD-ROM | disk | FTP | other *** search
/ Champak 128 / Vol 128 (Damaged).iso / games / hello_ki.swf / scripts / DefineButton2_52 / BUTTONCONDACTION on(release).as next >
Encoding:
Text File  |  2011-03-26  |  361 b   |  15 lines

  1. on(release){
  2.    if(_parent.PlayingGame)
  3.    {
  4.       _parent.PlayingGame = false;
  5.       _parent.Timer.gotoAndStop("TimerPause");
  6.       PauseText.ButtonText.gotoAndStop(2);
  7.    }
  8.    else if(_parent._currentframe == 3)
  9.    {
  10.       _parent.PlayingGame = true;
  11.       _parent.Timer.gotoAndStop("TimerOn");
  12.       PauseText.ButtonText.gotoAndStop(1);
  13.    }
  14. }
  15.